package com.haizhi.vp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@ToString
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("sys_user")
public class UserVo implements Serializable {

    //id
    @TableId(type = IdType.AUTO)
    private String id;
    //用户名
    private String username;
    //密码
    private String password;
    //密码
    private String area;
    //跳转url
    private String url;
    @TableField(value = "area_name")
    private String areaName;
    //汉字名称
    private String cityName;
}
